package org.test.ping.service.impl

import org.jacoco.core.runtime.IRuntime
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.boot.test.context.SpringBootTest
import org.test.ping.service.PingService
import spock.lang.Specification
import spock.lang.Unroll

@SpringBootTest
class PingServiceTest extends Specification{

    @Autowired
    private PingService pingService;

    @Unroll
    def "test ping service NotException"(){
        when:
        pingService.sayHello()
        then:
        noExceptionThrown()
        //println("done")
    }


}
